projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79cff61
)
checkout: Use ot_util_new_file_for_path
author
Colin Walters
<walters@verbum.org>
Tue, 1 Nov 2011 00:22:34 +0000
(20:22 -0400)
committer
Colin Walters
<walters@verbum.org>
Tue, 1 Nov 2011 00:22:34 +0000
(20:22 -0400)
src/libostree/ostree-checkout.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-checkout.c
b/src/libostree/ostree-checkout.c
index e4f09fb309d5b53efd1b16743152a8f7f0cb5e48..0569f287fb3696a64d456f128a49dc0d05ea81cd 100644
(file)
--- a/
src/libostree/ostree-checkout.c
+++ b/
src/libostree/ostree-checkout.c
@@
-204,7
+204,7
@@
run_trigger (OstreeCheckout *self,
{
temp_path = g_build_filename (priv->path, basename, NULL);
rel_temp_path = g_strconcat ("./", basename, NULL);
- temp_copy =
g_file_new
_for_path (temp_path);
+ temp_copy =
ot_util_new_file
_for_path (temp_path);
if (!g_file_copy (trigger, temp_copy, 0, NULL, NULL, NULL, error))
goto out;